<template>
  <view class="container">
    <!-- <view class="title">
			<view class="title_l">
				<view class="text_one">案例分析</view>
				<view class="text_two">专业的省财心</view>
			</view>
			<view class="title_r iconfont iconyoujiantou"></view>
		</view> -->
    <view class="case_serve_box" @click="toXiangqing">
      <image :src='picUrl' class="case_serve_image"></image>
      <view class="case_serve_container">
        <view class="case_serve_title">{{ fistTitle }}</view>
        <view class="case_serve_description">{{ secondTitle }}</view>
        <view class="case_serve_text">
          <text class="text">{{ tagOne }}</text>
          <text class="text">{{ tagTwo }}</text>
        </view>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  // props: ['fistTitle', 'secondTitle', 'tagOne', 'tagTwo','picUrl','Id'],
 
  //    fistTitle:{

  // },

  props: {

    fistTitle: {
      type: String
    },
     secondTitle: {
      type: String
    },
     tagOne: {
      type: String
    },
     tagTwo: {
      type: String
    },
     picUrl: {
      type: String
    },
    Id: {
      type:Number
    },
    ispageLeval: {
      type: String,
      default: 'two'
    }


  },



  data() {
    return {}
  },
  mounted() {

    console.log
   
  },
  methods: {
    toXiangqing() {
		
      uni.navigateTo({
        url: this.ispageLeval == 'two'?`../../pageTwo/xiangqing/xiangqing?id=${this.Id}`:`../../../pageTwo/xiangqing/xiangqing?id=${this.Id}`,
      })
    },
  },
}
</script>

<style lang="scss" scoped>
@import './index.scss';
</style>
